package gwt.bbsbot.client.beans;

import com.google.gwt.user.client.rpc.IsSerializable;


public class QuestionDataBean implements IsSerializable{
	private Long id;
	private Long day;
	private String name;
	private String questionData;
	private String profileImageURL;
	private String genre;

	public QuestionDataBean(){}
	public QuestionDataBean(Long id, 
							Long day, 
							String name, 
							String content, 
							String profileImageURL,
							String genre) {
		this.id = id;
		this.day = day;
		this.name = name;
		this.questionData = content;
		this.profileImageURL = profileImageURL;
		this.genre = genre;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuestionData() {
		return questionData;
	}

	public void setQuestionData(String questionData) {
		this.questionData = questionData;
	}

	public Long getDay() {
		return day;
	}

	public void setDay(Long day) {
		this.day = day;
	}
	public String getProfileImageURL() {
		return profileImageURL;
	}
	public void setProfileImageURL(String profileImageURL) {
		this.profileImageURL = profileImageURL;
	}
	@Override
	public String toString() {
		String str = "id:" + this.id + " name:" + this.name + " answerData:" + this.getQuestionData() + 
		"\n genre:" + this.genre;
		return str;
	}

	public String getGenre() {
		return genre;
	}
	
	public void setGenre(String genre) {
		this.genre = genre;
	}
}
